//
//  CGNotice.h
//  SchoolClient
//
//  Created by mac on 15/11/5.
//  Copyright © 2015年 mac. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface CGNotice : NSObject<NSCoding>

//定义通知的内容
@property(nonatomic,strong)NSString *title;
@property(nonatomic,strong)NSString *time;
@property(nonatomic,strong)NSString *content;
@property(nonatomic,strong)NSDate *date;
/**
 *  接收企业招聘的信息
 */
@property(nonatomic,strong)NSString *company_id;

/**
 *  接收校园招聘的信息
 */
@property(nonatomic,strong)NSString *school_id;

-(id)initWithTitle:(NSString *)title
           andTime:(NSString *)time
        andContent:(NSString *)content
           andDate:(NSDate *)date
     andCompany_id:(NSString *)company
      andSchool_id:(NSString *)school;


-(id)initWithCoder:(NSCoder *)aDecoder;

-(NSComparisonResult)dateCompare:(CGNotice *)otherNotice;

@end
